package com.qf.manager.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ViewController {
    @RequestMapping("/")
    public String adminIndex(){
        return "admin/index";
    }
    @RequestMapping("/view/admin/{path}")
    public String view(@PathVariable("path")String path){
        return "admin/"+path;
    }
}
